::opts_chunk$set(cache = TRUE,
knitrecho = TRUE,
message = FALSE,
warning = FALSE,
fig.path = "static",
fig.height=6,
fig.width = 1.777777*6,
fig.align='center',
tidy = FALSE,
comment = NA,
highlight = TRUE,
prompt = FALSE,
crop = TRUE,
comment = "#>",
collapse = TRUE)
::opts_knit$set(width = 60)
knitrlibrary(tidyverse)
library(reshape2)
theme_set(theme_light(base_size = 16))
<- function(output, otherwise) {
make_latex_decorator function() {
if (knitr:::is_latex_output()) output else otherwise
}
}<- make_latex_decorator(". . .", "\n")
insert_pause <- make_latex_decorator("----", "\n")
insert_slide_break <- make_latex_decorator("> *", "*")
insert_inc_bullet <- make_latex_decorator("", "$$") insert_html_math
Data science in Health care
survival analysis
clinical trials
GLMS